package com.relytosoft.mizar.analyze.common.feign;

import com.relytosoft.dubhe.common.core.object.ResponseResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.cloud.openfeign.FallbackFactory;

/**
 * @author lj
 * @date 2022/5/19 10:54
 */
public class SystemFeignFallbackFactory implements FallbackFactory<SystemFeignService> {
    protected Logger log = LoggerFactory.getLogger(this.getClass());

    @Override
    public SystemFeignService create(Throwable cause) {
        return new SystemFeignService() {
            @Override
            public ResponseResult selectGroupByIds(String bodys) {
                return null;
            }

            @Override
            public ResponseResult id(Integer templateId) {
                return null;
            }

            @Override
            public ResponseResult add(String bodys) {
                return null;
            }

            @Override
            public ResponseResult selectById(Integer id) {
                return null;
            }

            @Override
            public ResponseResult updateDispositionPlan(String bodys) {
                return null;
            }

            @Override
            public ResponseResult addAyAlarm(String bodys) {
                return null;
            }
        };
    }
}
